═══ 1. HTMLGen - An Overview ═══ HTMLGen is a HTML script generator for OS/2. HTML scripts are used to generate Home Pages for World Wide Web browsers. HTMLGen provides a simple method for generating scripts. By selecting the appropriate tag, a dialog box will pop-up to gather data and fill in the script. ═══ 2. Adding To Desktop ═══ To place the program on your WPS Desktop use the following rexx script. /* Place HTMLGen on Your Desktop */ rc = RxFuncAdd("SysLoadFuncs","RexxUtil","SysLoadFuncs") rc = SysLoadFuncs() rc = SysCreateObject("WPProgram","HTMLGen","","exename="||directory()||"\htmlgen.exe") rc = SysSetIcon(directory()||"\htmlgen.exe","htmlgen.ico") ═══ 3. Register ═══ REGISTRATION FORM FOR HTMLGen Version 1.10 Registration fee is $45.00 per copy. North Carolina residents must include sales tax. In USA and Canada add $5.00 for shipping/handling. All other international shipments add $15.00. See other documentation. Send to: HTMLGen 1.10 American Coders, LTD P.O. Box 97462 Raleigh, NC 27624 Name:______________________________________ Phone: ____________ Company: ___________________________________ Phone: ____________ Address: ___________________________________________________________ ___________________________________________________________ City: _________________________ State: ______ Zip: _____________ CompuServe ID: _____________________________________________________ Where did you find HTMLGen: _______________________________________ Registered users get a 30 day money back guarantee, 60 days free telephone support, unlimited support on CompuServe, and free upgrades to the next release. CompuServe ID: 74150,2370 CompuServe Support: GO OS2SHARE Internet: joe@usacoder.rtp.nc.us Phone: (919) 846-2014. ═══ 4. Cut and Paste ═══ OS/2 Cut and Paste fucntions to the OS/2 clip-board are availablle. Cut Press CTRL-Delete. To place mark text into the clipboard and remove it from the script area. Copy Press CTRL-Insert. To copy the marked area to the clip-board. Paste Press Shift-Insert to copy clip-board text at the cursors position. Marking Text To Cut and Copy Press Shift and use the arrow keys to mark pieces of text in the script area. ═══ 5. Primary Window Menu ═══ There are several window menus to simplify your job. ═══ 5.1. File ═══ The file pull down provides access to OS/2 file system. ═══ 5.1.1. Open ═══ Open will load the script area with an existing. Any text in the script area will be lost. ═══ 5.1.2. New ═══ This will restart a script by removing existing text. ═══ 5.1.3. Save ═══ This will save the script area to a file. If a filename has not been defined the File dialog will pop-up. ═══ 5.1.4. Save As ═══ This will save the script area to a file. The File dialog will pop-up. ═══ 5.1.5. Insert Text ═══ This will insert text from another file into the script area. Text in the existing area will not be lost. ═══ 5.1.6. Browser ═══ This will load the current text area to the defined file and call the Web Browser you have defined on your system. ═══ 5.1.7. IPF Build ═══ This will translate your HTML script into the IPF format. IPF is used by the IBM IPFC compiler to generate INF and HLP files. IPFC compiler is not provide with HTLMGen. ═══ 5.1.8. Editor ═══ This will load the current text area to the defined file and call an editor you have defined. ═══ 5.1.9. Exit ═══ This will exit the program. Short-cut key is F3. ═══ 5.2. Options ═══ There are three options to provide HTMLGen with Browser/Editor and Text prompting indicators. ═══ 5.2.1. Browser Defined ═══ Will pop-up a dialog box asking for the command to load your Web browser. ═══ 5.2.2. Editor Defined ═══ Will pop-up a dialog box asking for the command to load your editor. ═══ 5.2.3. Text Prompting ═══ This will turn-on/off the dialog boxes when the Tagging functions are used. ═══ 5.2.4. IPF Conversion Options ═══ There are three options available for the IPFC Conversion. RES for Headings Turn this on and a resource number will be assigned to each heading. This is useful for creating HLP files. HLP files work with PM Help functions. Resources are associated with PM items such when F1 is pressed when the cursor is on a button, defining the HELP push button, etc... Index for Headings Turn this on and each heading will have a IPF index assigned to it. For the Heading 1, only an I1 tag is created. For all other headings an I1 tag is created and an I2 tag with a reference to the previous I1 tag. Indexes define what shows up in the INDEX for your both HLP and INF files. ═══ 5.2.5. Edit Macros ═══ This provides a dialog box to maintain your macros. Prompts are shown in the macro list and text is entered into the macro list when the prompt is double-clicked. Macros are maintained an editible file HTMLGEN.MAC. The format is rather simple. A keyword "PROMPT:" is used to indicate a new macro. Text on the same line as "PROMPT:" is used for the macro prompt. All text following the prompt is considered to be macro "text" that is inserted into the HTML document when the prompt is double-clicked. ═══ 5.3. Tags ═══ Tags are the indentifies for the browser on how to display and format text, pull in external files, and layout the general document. ═══ 5.3.1. Headings ═══ Title
The preformatted tag marks text for fixed-width font with carriage returns, spaces and tabs kept in place. This section may contain other tags. Short-cut key is Alt-p. Quoted Text
The block quote tag marks text for fixed-width font with carriage returns, spaces and tabs kept in place. This section may contain other tags. Short-cut key is Alt-q. Address The address tags is used to describe the author of the document. It is usually the last item in the document. This section may contain other tags. Short-cut key is Alt-a. Anchor Name The anchor name text provides to ability for other sections of the docuement to refer back to this section of text. Short-cut key is Alt-n. Anchor Reference The anchor name text provides to ability to refer back to another section of text mark by an anchor name. Short-cut key is Alt-r. ═══ 5.3.4. Formats ═══ Formats provide changing the fonts of text. o ITALICS - Italics - Short-cut key is Ctrl-i. - Emphasised Italics - Short-cut key is Ctrl-e. - Citation - Short-cut key is Ctrl-c. - Variable - Short-cut key is Ctrl-i. o BOLDS - Bold - Short-cut key is Ctrl-b. - Strong bold - Short-cut key is Ctrl-s. o MONO-SPACED - Typewriter - Short-cut key is Ctrl-t. - Code
- Short-cut key is Ctrl-C.
- Sample - Short-cut key is Ctrl-s..
- Keyboard - can be used to indicate an end of a paragraph block. Short-cut key is Ctrl+Enter. ═══ 5.3.6. Images ═══ Inline Images